﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
namespace Maticsoft.Web.SeriesInfo
{
    public partial class Show : Page
    {        
        		public string strid=""; 
		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
				{
					strid = Request.Params["id"];
					int SeriesId=(Convert.ToInt32(strid));
					ShowInfo(SeriesId);
				}
			}
		}
		
	private void ShowInfo(int SeriesId)
	{
		Maticsoft.BLL.SeriesInfo bll=new Maticsoft.BLL.SeriesInfo();
		Maticsoft.Model.SeriesInfo model=bll.GetModel(SeriesId);
		this.lblSeriesId.Text=model.SeriesId.ToString();
		this.lblSeriesName.Text=model.SeriesName;

	}


    }
}
